package com.xs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xs.dao.MessageDao;
import com.xs.entity.Message;
import com.xs.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageServiceImpl extends ServiceImpl<MessageDao, Message> implements MessageService {
    @Autowired
    private MessageDao messageDao;


    @Override
    public List<Message> findCommentDetail(Integer aid) {
        return messageDao.findCommentDetail(aid);
    }
}
